﻿using System;

namespace StarClub.BLL.PageBase
{
    /// <summary>
    /// 必须登录的页面继承类（没有检查权限）
    /// </summary>
    public class MustLoginPageBase : PageBase
    {
        protected override void OnLoad(EventArgs e)
        {
            if (!this.IsLogined)
                Response.Redirect("~/Login.aspx?returnUrl=" + Server.UrlEncode(Common.UrlHelper.CurrentPageAndQuery(Request)));
            base.OnLoad(e);
        }
    }
}
